package cn.shomes.smart_lock_flutter.utils.ble


class FlutterData {

    class RetData<T> {
        var type: Int? = -1  //返回类型
        var ret: Int = 1 //返回结果
        var data: T? = null   //返回数据
    }

    class BleDevice {
        var name: String? = ""
        var mac: String? = ""
        var bound: Int? = 0

        constructor(name: String?, mac: String?, bound: Int?) {
            this.name = name
            this.mac = mac
            this.bound = bound
        }
    }

    class PrinterTicketData {
        var company: String? = ""
        var addressStart: String? = ""
        var addressEnd: String? = ""
        var carNum: String? = ""
        var driverName: String? = ""
        var ticketTime: String? = ""
        var ticketUser: String? = ""
        var ticketId: String? = ""
        var ticketTimes: String? = ""
        var ticketBarCode: String? = ""
        var ticketQrCode: String? = ""
    }
}